AI SDK Kotlin
Toggle table of contents
0.2.0
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk
/
llamaIndexToUIMessageStream
llama
Index
To
UIMessage
Stream
fun
llamaIndexToUIMessageStream
(
stream
:
Flow
<
LlamaIndexEngineResponse
>
,
callbacks
:
StreamCallbacks
?
=
null
,
assistantMessageId
:
String
=
"1"
)
:
Flow
<
UIMessage
>